# 格式化字符串
# 字符串还必须以 f 开头，f 是“格式化”（format）的意思，例如 f"Hello {somevar}"。
# 这种 f、引号和{}的组合相当于告诉 Python：“嘿，这是一个格式化字符串，把这些变量放到那几个位置。”
# 2023年3月17日

my_name = 'Zed A. Shaw'
my_age = 35  # not a lie
my_height = 74  # inches
my_weight = 180  # lbs
my_eyes = 'Blue'
my_teeth = 'White'
my_hair = 'Brown'
print(f"Let's talk about {my_name}.")
print(f"He's {my_height} inches tall.")
print(f"He's {my_weight / 100} pounds heavy.")
print("Actually that's not too heavy.")
print(f"He's got {my_eyes} eyes and {my_hair} hair.")
print(f"His teeth are usually {my_teeth} depending on the coffee.")

# this line is tricky, try to get it exactly right
total = my_age + my_height + my_weight
print(f"If I add {my_age}, {my_height}, and {my_weight} I get {total}.")
